package com.brsya.movie.model;


import com.brsya.base.base.Contents;
import com.brsya.base.bean.BaseObjectBean;
import com.brsya.base.net.RetrofitClient;
import com.brsya.movie.contract.HelpContract;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * Created by Brsya
 * CreateDate: 2022/4/27  10:04
 * Description:
 * 帮助反馈
 */
public class HelpModel implements HelpContract.Model {

    @Override
    public Observable<BaseObjectBean<String>> helpSubmit(Map<String, Object> par) {
        return RetrofitClient.getInstance().getApi().helpSubmit(Contents.BASE_URL + "/submit/feedback", par);
    }
}
